package bimvu.lab1;

public class TransitionsCounter {
    private static TransitionsCounter ourInstance = new TransitionsCounter();
    private Integer counter = 0;

    public static TransitionsCounter getInstance() {
        return ourInstance;
    }

    private TransitionsCounter() {
    }

    public void increment()
    {
        counter++;
    }

    public Integer getValue()
    {
        return counter;
    }
}
